package com.wanmait.recruit.service;

import com.wanmait.recruit.pojo.Person;
import com.wanmait.recruit.pojo.Resume;

import java.util.List;

public interface ResumeService extends CommonService<Resume> {

    Resume findById(Integer id);
    String findAdvantages(Integer resumeId);
    boolean findIsAdvantage(Integer resumeId);
    void updateAdvantage(Integer id,String advantages);
    void insertAdvantage(Integer id, String advantages);
    void delAdvantage(Integer personId);

    String findCredentials(Integer personId);
    boolean findIsCredentials(Integer id);
    void updateCredentials(Integer id,String advantages);
    void insertCredentials(Integer personId,String advantages);
    void delCredentials(Integer personId);

    List<Resume> findByPersonId(Integer personId);
    Resume selectOneByPerson(Person person);

    Integer findNewId();

}
